gtkimmodule: make match_backend() query
authorPeter Bloomfield <PeterBloomfield@bellsouth.net>
Mon, 12 Mar 2018 21:46:57 +0000 (17:46 -0400)
committerPeter Bloomfield <PeterBloomfield@bellsouth.net>
Mon, 12 Mar 2018 21:46:57 +0000 (17:46 -0400)
commit86cd5c04bdd4aa2cfe4ecd4cce505d23e4d09d76
tree013c17815bc77737d4d4498eceebe3360ef95659
parentd11c78c46f496ca9fc9cc7062d8acb7d80228574
gtkimmodule: make match_backend() query

…the wayland registry.

Wnen _gtk_im_module_get_default_context_id calls
match_backend (context_id) and the default GdkDisplay
is wayland, match_backend() should return TRUE only if
gdk_wayland_display_query_registry (display, "gtk_text_input_manager")
returns TRUE.
gtk/gtkimmodule.c